package cn.rocksolid.sport.common.entity;

import cn.rocksolid.sport.common.Constant.Gender;
import lombok.Data;

import java.util.Date;

/**
 * @author Axl Zhao
 * @email axl.zhao@163.com
 */
@Data
public abstract class PeopleEntity extends AuditedEntity {
  /**
   * Random serialVersionUID
   */
  private static final long serialVersionUID = 1L;
  /**
   *
   */
  private String username;
  /**
   * nickname
   */
  private String nickname;
  /**
   * avatar for social display
   */
  private String avatar;
  /**
   * real face photo
   */
  private String photo;
  // Below are identity information
  /**
   * real name
   */
  private String name;
  /**
   * real id card
   */
  private String idCard;
  /**
   * Last time modified photo date time, verified date time
   */
  private Date vdt;
  // Below are normal information
  /**
   * date of birth
   */
  private String birth;
  /**
   * gender
   */
  private Gender gender;
  /**
   * ethnic
   */
  private String ethnic;
  /**
   * mobile
   */
  private String mobile;
  /**
   * email
   */
  private String email;
  /**
   *
   */
  private String locale;
  /**
   *
   */
  private String country;
  /**
   *
   */
  private String province;
  /**
   *
   */
  private String city;
  /**
   *
   */
  private String district;
  /**
   *
   */
  private String weight;
  /**
   *
   */
  private String height;
}
